package com.ruoyi.live.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * guankan jilu对象 tb_watch
 * 
 * @author sun
 * @date 2023-01-30
 */
public class TbWatch extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 观看Id */
    private Integer watchId;

    /** 直播房间编号 */
    @Excel(name = "直播房间编号")
    private String roomNo;

    /** 观看人 */
    @Excel(name = "观看人")
    private Integer userId;

    /** 观众聊天记录信息 */
    @Excel(name = "观众聊天记录信息")
    private String userMes;

    /** 直播产生收益 */
    @Excel(name = "直播产生收益")
    private Long liveYield;

    /** 是否删除  0：未删除   2：已删除 */
    private Integer delFlag;

    public void setWatchId(Integer watchId) 
    {
        this.watchId = watchId;
    }

    public Integer getWatchId() 
    {
        return watchId;
    }
    public void setRoomNo(String roomNo) 
    {
        this.roomNo = roomNo;
    }

    public String getRoomNo() 
    {
        return roomNo;
    }
    public void setUserId(Integer userId) 
    {
        this.userId = userId;
    }

    public Integer getUserId() 
    {
        return userId;
    }
    public void setUserMes(String userMes) 
    {
        this.userMes = userMes;
    }

    public String getUserMes() 
    {
        return userMes;
    }
    public void setLiveYield(Long liveYield) 
    {
        this.liveYield = liveYield;
    }

    public Long getLiveYield() 
    {
        return liveYield;
    }
    public void setDelFlag(Integer delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("watchId", getWatchId())
            .append("roomNo", getRoomNo())
            .append("userId", getUserId())
            .append("userMes", getUserMes())
            .append("liveYield", getLiveYield())
            .append("delFlag", getDelFlag())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
